import { createStore, combineReducers, applyMiddleware } from 'redux'
import { count } from './reducer/count'
import { num } from './reducer/num'
import logger from 'redux-logger'

let reducer = combineReducers({
    count,
    num
})

let store = createStore(reducer, applyMiddleware(logger))

export default store